Technical Q&As
OPS17 - Find Desktop Folder (12-September-97)
Q
The General control panel (GCP) in 7.6, 7.6.1 and 8.0 has the document
options: Last folder, Application set folder, and Documents folder. How
can my application determine where this folder is?
A
The General control panel (GCP) patches FindFolder
so it will return
the correct document folder given the current GCP options. Pass
FindFolder
a folderType
of 'docs
'.
One quick note: Because the GCP
patches FindFolder
, the createFolder option doesn't work. If the folder
doesn't exist you won't get an error and it won't be created. You have
to write code to determine if the folder actually exist: if it
doesn't, you'll have to create it yourself.
-- George Warner
Worldwide Developer Technical Support
Technical Q&As
Previous Question | Contents | Next Question
To contact us, please use the Contact Us page.